package com.tom.architect02.ui30.day25;

import androidx.appcompat.app.AppCompatActivity;

import android.graphics.Color;
import android.graphics.PointF;
import android.os.Bundle;
import android.util.Log;
import android.view.View;

import com.tom.architect02.R;
import com.tom.architect02.ui20.day18.StatusBarUtil;
import com.tom.architect02.ui30.day24.MessageBubbleView;

public class MainActivityUI25 extends AppCompatActivity  {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main_ui25);

        MessageBubbleView.attach(findViewById(R.id.text_view),
                new BubbleMessageTouchListener.BubbleDisappearListener() {
                    @Override
                    public void dismiss(View view) {
                        // view是原来的 被点击item
                        Log.d("TAG", "爆照消失了");
                    }
                });
    }

}